package com.wanli.storemobile.homepage;

import androidx.appcompat.app.AppCompatActivity;
import butterknife.BindView;
import butterknife.ButterKnife;

import com.google.gson.Gson;
import com.wanli.storemobile.R;
import com.wanli.storemobile.base.DataCallBack;
import com.wanli.storemobile.bean.BankDeposiAddressListBean;
import com.wanli.storemobile.bean.BankListBean;
import com.wanli.storemobile.homepage.model.HomePageModelImpl;
import com.wanli.storemobile.homepage.model.IHomePageModel;
import com.wanli.storemobile.widget.AppTitleBar;

import com.wanli.storemobile.base.BaseActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.widget.TextView;

import java.util.List;

public class SelfRegistrationSuccessfulActivity extends BaseActivity {
    @BindView(R.id.title_bar)
    AppTitleBar titleBar;
    @BindView(R.id.tv_commit)
    TextView tv_commit;
    private IHomePageModel homePageModel = new HomePageModelImpl();
    private String mobile;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_self_registration_successful);
        ButterKnife.bind(this);
        initView();
        initData();
        initEvent();
    }

    public void initView() {
        Intent intent = getIntent();
        mobile = intent.getStringExtra("mobile");
    }

    public void initData() {
//        homePageModel.isPreviously(mobile, new DataCallBack<BankListBean>() {
//            @Override
//            public void onSuccessful(BankListBean bean) {
//
//            }
//
//            @Override
//            public void onFailed(String msg, String code) {
//
//            }
//        });
    }

    public void initEvent() {
        tv_commit.setOnClickListener(v -> {
            finish();
        });
    }
}